package com.jeeplus.modules.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Lists;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class StudentAddList extends DataEntity<StudentAddList> {

    private static final long serialVersionUID = 1L;
    @ExcelField(title="姓名", align=2, sort=7)
    private String name;		// 姓名
    @ExcelField(title="学院", align=2, sort=8)
    private String institute;		// 学院
    @ExcelField(title="年级", align=2, sort=9)
    private String grade;		// 年级
    @ExcelField(title="班级", align=2, sort=10)
    private String classe;		// 班级
    @ExcelField(title="学号", align=2, sort=11)
    private String studentId;		// 学号
    @ExcelField(title="当前辅导员", align=2, sort=12)
    private String currentInstructor;		// 当前辅导员
    private String addEnclosure;
    private String addReason;		// 加分原因
    @ExcelField(title="审核状态", align=2, sort=12)
    private String state;		// 审核状态
    @NotNull(message="目前德育分不能为空")
    @ExcelField(title="目前德育分", align=2, sort=13)
    private Integer currentMoraleduPoint;		// 目前德育分
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message="加分时间不能为空")
    @ExcelField(title="加分时间", align=2, sort=9)
    private Date addTime;		// 加分时间
    @ExcelField(title="加分数", align=2, sort=10)
    private String addPoint;		// 加分数
    @ExcelField(title="加分时间", align=2, sort=12)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime; // 审核时间
}
